package com.gaowl.gulimall.member.feign;

import com.gaowl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/*
* 这是一个声明式的远程调用。
* 每次调用CouponFeignService下的方法时，会远程访问gulimall-coupon微服务下的/coupon/coupon/member/lis
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
